home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / comm / tcp / AmiTCP_bin_22.lha / AmiTCP-2.2 / HowToInstall < prev    next >
Text File  |  1993-10-22  |  9KB  |  218 lines

  1. * How to Install AmiTCP/IP:
  2.  
  3.   You should not install the current version on top of older
  4.   version.  If your disk space allows, leave the old version on the
  5.   disk and delete it when you have the new version up and running. The
  6.   installation script will copy your old configuration from old
  7.   version directory.
  8.   
  9.   Extract first the distribution archives (AmiTCP_xxx_20.lha) to some
  10.   directory in your hard disk (e.g. WORK:).
  11.  
  12. * Configuration Information
  13.   
  14.   Before you proceed, you should get the following information from
  15.   your network administration (if you don't have the information, you
  16.   have to reinstall AmiTCP/IP afterwards):
  17.   
  18.   * Internet protocol address for your computer. This is a 32 bit
  19.     integer represented as a series of decimal numbers separated by
  20.     dots. For example, 130.233.161.40 is a legal internet address.
  21.  
  22.   * If you have a point-to-point connection to the network, you need
  23.     to know your destination IP address, that is the IP address of
  24.     the host you are connected. SLIP, CSLIP and PPP are examples of
  25.     point-to-point connections.
  26.   
  27.   * Netmask for your network. This specifies how many bits of your
  28.     internet address are used to specify the network address. Netmask
  29.     is like 255.255.255.0. If your network is not sub-netted, then do
  30.     not have to supply this value (a default computed from the IP
  31.     address is used).
  32.   
  33.   * Address of the default gateway. If your host do not know any route
  34.     to a host it resorts to the default gateway. If you have only one
  35.     point-to-point connection, you should use the host you are
  36.     connected as a default gateway.
  37.   
  38.   * Your host name. Host name is a more convenient way than the internet
  39.     address to refer your computer. This is like `Amiga1'.
  40.   
  41.   * Domain name of your site. For example, "hut.fi" is the domain name
  42.     for the Helsinki University of Technology in Finland. The part
  43.     after the first dot in your full host name is usually (but not
  44.     always) your domain name.
  45.   
  46.   * Addresses of the Domain Name Servers which will be used to
  47.     translate host names to the corresponding internet addresses. A
  48.     local database must be used instead if there is no name server on
  49.     your domain.
  50.   
  51.     If you have an access to a Unix machine in your network, you can
  52.     probably find a list of domains and name server addresses in the
  53.     file `/etc/resolv.conf'. Also, if there is no name server, you can
  54.     copy the file `/etc/hosts' to the `AmiTCP:db/hosts'.
  55.  
  56.   Next you should obtain a SANA-II compatible device driver for your
  57.   network adapter. The SANA-II drivers are usually installed into
  58.   directory `DEVS:networks'. We have included a few freely
  59.   distributable drivers with the AmiTCP/IP. You can use the SLIP or
  60.   CSLIP drivers with a serial interface.
  61.  
  62.   AmiTCP/IP uses the name of SANA-II device driver to access it. You
  63.   should also know the number of unit you are using (usually 0). You
  64.   might also have to make a configuration file for your device driver.
  65.   The configuration files have usually the name of the interface
  66.   appended with unit number and `.config', e.g. unit 1 of sana.device
  67.   uses the configuration file `slip1.config'.  Configuration files are
  68.   usually stored into the directory `ENV:Sana2/'. See the example
  69.   configuration file for the slip.device unit 0 at the end of this
  70.   file.
  71.   
  72.   You may start the installation by double-clicking the
  73.   "Install_AmiTCP"-icon.
  74.   
  75.   If you use slip.device or cslip.device SANA-II drivers, you _must_
  76.   edit the configuration files before starting AmiTCP.
  77.  
  78. * About User and Group Databases
  79.  
  80.   AmiTCP/IP release 2.1 gives some user management support. For each
  81.   user, there is one line of information in the file AmiTCP:db/passwd,
  82.   which is currently used by `finger' and `ls' commands.  This line is
  83.   separated to 7 parts with vertical bars (`|'):
  84.  
  85. username|password|uid|gid|gecos|home directory|shell
  86.  
  87.   The `gecos' part contains real name, office, office phone and home
  88.   phome numbers separated with commas (',').  You can print them with
  89.   finger. Markus Peuhkuri has following entry in the example `passwd'
  90.   file:
  91.  
  92. puhuri|*|17681|100|Markus Peuhkuri,G218,4512462,4521992|users:puhuri|shell
  93.  
  94.   Markus has username puhuri. As the password field contains `*', his
  95.   password is disabled (so he can not log into your machine even if
  96.   the remote login is installed). His numeric identifier, UID, is
  97.   17681, and his default group number, GID, is 100, `users'. The UID
  98.   and GID must be numbers between 0 - 65535. After his real name there
  99.   is his office room at HUT, is work phone and his home phone.  His
  100.   home directory is `users:puhuri', finger searches his `.plan' and
  101.   `.project' files from that directory. Last field is his login shell,
  102.   AmiTCP/IP does not currently use that for anything.
  103.  
  104.   You can add and remove users simply editing your `passwd' file with
  105.   text editors (Emacs, Ed, Edit). Make sure that finger can parse the
  106.   changed file and finger each user that you have changed.
  107.  
  108.   The passwd file format is mostly compatible with MultiUser by Geert
  109.   Uytterhoeven and with AS225r2 beta from Commodore. You can use `ls'
  110.   with MultiUser or other filesystems which have WB3.0 compatible
  111.   interface. If you are using MultiUser, you should copy or link your
  112.   MultiUser passwd file to AmiTCP:db/passwd (install script tries to
  113.   copy automatically, but it does not have enough intelligence to do
  114.   it always right).
  115.  
  116.   The group file, `AmiTCP:db/group' has similar format. There is more
  117.   information about group and password files in AutoDoc file
  118.   AmiTCP:db/doc/netlib.doc.
  119.  
  120. * If There Is Some Problems with Installation 
  121.   
  122.   Here is an example of the required information:
  123.  
  124.     Name of your computer:             slip-2
  125.     Your domain part:             hut.fi
  126.     Aliases for it:             amy
  127.     Your Internet address:             130.233.161.50
  128.     Destination address (terminal server):    130.233.161.90
  129.     Netmask of used in your network:    255.255.252.0
  130.     Address of the default gateway:     130.233.163.254
  131.     Domain names to search:            hut.fi
  132.                         cs.hut.fi
  133.     Addresses of nameservers:         130.233.224.1
  134.                         130.233.224.13  
  135.                         128.214.4.29
  136.     SANA-II device driver:             slip.device 
  137.         (Serial Line IP)
  138.     Unit of the SANA-II device driver:     0 
  139.  
  140.    
  141.   `AmiTCP:bin/StartNet' (lines beginning with `;' are comments):
  142.  
  143.     run AmiTCP:AmiTCP
  144.     SYS:Rexxc/WaitForPort AMITCP
  145.     Wait 2 secs
  146.     ; configure loop-back device
  147.     AmiTCP:bin/ifconfig lo/0 localhost
  148.     ; Configure Devs:Networks/slip.device unit 0
  149.     AmiTCP:bin/ifconfig Devs:Networks/slip.device/0 130.233.161.50 +
  150.     130.233.161.90 netmask 255.255.252.0
  151.     ; Add route to this host
  152.     AmiTCP:bin/route add slip-2.hut.fi localhost
  153.     ; Add route to the default gateway
  154.     AmiTCP:bin/route add default 130.233.163.254
  155.     ; Start the internet `super server'
  156.     run AmiTCP:bin/inetd
  157.  
  158.   `Amitcp:db/netdb-myhost' (lines beginning with `;' are comments):
  159.  
  160.     ; This host
  161.     HOST 130.233.161.50 slip-2.hut.fi slip-2 amy
  162.     ; Domain names
  163.     DOMAIN hut.fi
  164.     DOMAIN cs.hut.fi
  165.     ; Name servers
  166.     NAMESERVER 130.233.224.1
  167.     NAMESERVER 130.233.224.13
  168.     NAMESERVER 128.214.4.29
  169.  
  170.   `S:User-Startup' will contain something along following lines (if
  171.   you do not choose to start AmiTCP at the system startup):
  172.   
  173.     ;BEGIN AmiTCP/IP
  174.     setenv HOSTNAME slip-2.hut.fi
  175.     assign AmiTCP: Work:AmiTCP-2.0
  176.     path AmiTCP:bin add
  177.     ;END AmiTCP/IP
  178.  
  179.   Example of ENV:sana2/slip0.config:
  180.  
  181.     serial.device 0 19200 130.233.161.50
  182.  
  183. * What Happens in the Installation?
  184.   
  185.   The course of installation is shortly explained for those of you who
  186.   want to know what happens to their computer:
  187.  
  188.   * Amount of free memory and version of system software is checked
  189.   * Destination directory is asked for
  190.   * An earlier installation is checked in the destination directory,
  191.     so you can change your setup by running the installation script
  192.     again
  193.   * The AmiTCP/IP files are copied to the destination if needed
  194.   * Included Sana-II device drivers are installed
  195.   * Example configuration files for the SANA-II drivers are copied to
  196.     ENVARC:sana2/ 
  197.   * EmacsTCP is installed 
  198.   * NapsaTerm is installed
  199.   * User and group databases are installed. They are useful when
  200.     dealing with Unix or multiuser filesystems.
  201.   * You are queried some information concerning your network setup:
  202.     * Your host and domain name name is stored to the environment
  203.       variable HOSTNAME
  204.     * You are asked for aliases (nicknames) for your host
  205.     * You are asked for the name, unit of the interface you are using
  206.     * Likewise the interface (and destination) IP addresses and
  207.       netmask are asked
  208.     * You are asked for the IP address of the default gateway
  209.     * You are asked for domain names and domain name server IP
  210.       addresses
  211.   * If you select to start AmiTCP/IP when your computer boots,
  212.     appropriate command is added to your s:user-startup.
  213.   * S:user-startup is modified to make right assigns and paths.
  214.   * Installer creates Amitcp:bin/startnet, a script to start
  215.     AmiTCP/IP, configure Sana-II interfaces and provide basic routing
  216.   * Other network information is saved in the file
  217.     AmiTCP:db/netdb-myhost
  218.